package aop;

import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * <pre>类名: MyBeforeAdvice</pre>
 * <pre>描述: 定义一个MyBeforeAdvice通知</pre>
 * <pre>版权: web_chen@163.com</pre>
 * <pre>日期: 2020/11/18 17:29</pre>
 * <pre>作者: chenwb</pre>
 */
public class MyBeforeAdvice implements MethodBeforeAdvice {

	@Override
	public void before(Method method, Object[] args, Object target) throws Throwable {
		System.out.println("before say");
	}
}
